package com.o2opuzi.pub.model;

import java.util.Date;

import com.o2opuzi.lib.db.Model;
import com.o2opuzi.lib.db.Tb;

/**
 * 用户操作记录
 * @author Y.hj
 * @date 2016年5月31日
 */
@Tb(name="user_opt_log")
public class UserOptLog extends Model<UserOptLog, Integer>{

	private static final long serialVersionUID = -8002084773777056580L;
	
	/**
	 * 主键id
	 */
	private Integer id;
	
	/**
	 * 用户id
	 */
	private Integer user_id;
	
	/**
	 * 账号
	 */
	private String user_account;
	
	/**
	 * 请求方式
	 */
	private String http_method;
	
	
	/**
	 * 请求url
	 */
	private String http_url;
	
	/**
	 * ip
	 */
	private String ipaddress;
	
	/**
	 * 操作描述
	 */
	private String optdesc;
	
	/**
	 * 操作时间
	 */
	private Date optdate;
	

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUser_id() {
		return user_id;
	}

	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}

	public String getUser_account() {
		return user_account;
	}

	public void setUser_account(String user_account) {
		this.user_account = user_account;
	}

	public String getHttp_method() {
		return http_method;
	}

	public void setHttp_method(String http_method) {
		this.http_method = http_method;
	}

	public String getHttp_url() {
		return http_url;
	}

	public void setHttp_url(String http_url) {
		this.http_url = http_url;
	}

	public String getIpaddress() {
		return ipaddress;
	}

	public void setIpaddress(String ipaddress) {
		this.ipaddress = ipaddress;
	}

	public String getOptdesc() {
		return optdesc;
	}

	public void setOptdesc(String optdesc) {
		this.optdesc = optdesc;
	}

	public Date getOptdate() {
		return optdate;
	}

	public void setOptdate(Date optdate) {
		this.optdate = optdate;
	}
	
	
	

}
